package com.atjava.nebula.core.constant;

public interface SqlPostfix {

	public static final String POSTFIX_INSERT = ".insert";

	public static final String POSTFIX_UPDATE = ".update";

	public static final String POSTFIX_DELETE = ".delete";

	public static final String POSTFIX_DELETE_PRIAMARYKEY = ".deleteByPK";

	public static final String POSTFIX_SELECT = ".select";
	
	public static final String POSTFIX_SELECT_PK = ".selectByPK";

	public static final String POSTFIX_SELECTMAP = ".selectByMap";

	public static final String POSTFIX_SELECTSQL = ".selectBySql";

	public static final String POSTFIX_COUNT = ".count";
	
	/*
	 * ibatis操作标识
	 */
	public final static String IBATIS_CREATE = ".Create";
	public final static String IBATIS_COUNT = ".Count";
	public final static String IBATIS_COUNT_PROJ = ".CountByProj";
	public final static String IBATIS_GETBYID = ".GetById";
	public final static String IBATIS_UPDATE = ".Update";
	public final static String IBATIS_UPDATE_ALL = ".UpdateAll";
	public final static String IBATIS_DELETE = ".Delete";
	public final static String IBATIS_DELETEBYID = ".DeleteById";
	public final static String IBATIS_LIST = ".GetByCondition";
	public final static String IBATIS_GETBYCOND = ".GetByCondition";
	public final static String IBATIS_GETBYLIST = ".GetByList";
	public final static String IBATIS_GETBYPROJ = ".GetByProjection";
	
	public final static String IBATIS_EXECSQL = "NebulaCommon.ExecSql";
	
	/*
	 * 异常提示Exception
	 */
	public final static String EXCEPTION_CREATE = ":创建对象失败";
	public final static String EXCEPTION_GET = ":返回对象失败";
	public final static String EXCEPTION_UPDATE = ":更新对象失败";
	public final static String EXCEPTION_DELETE = ":移除对象失败";
	public final static String EXCEPTION_LIST = ":返回查询列表失败";
	public final static String EXCEPTION_PAGE = ":返回分页对象失败";
	public final static String EXCEPTION_COUNT = ":返回记录数统计查询失败";
	public final static String EXCEPTION_LIST4PAGE = ":返回分页查询列表失败";
	public final static String EXCEPTION_EXSQL = ":执行sql失败";
	public final static String EXCEPTION_GROUPBYSQL = ":执行分组查询sql失败";

}